package product

import (
	"github.com/gin-gonic/gin"
	v1 "vue-admin-server/api/v1"
)

type ChipsRouter struct{}

func (e *ChipsRouter) InitChipsRouter(Router *gin.RouterGroup) {
	//productRouter := Router.Group("chips").Use(middleware.OperationRecord())
	productRouterWithoutRecord := Router.Group("chips")
	chipProductApi := v1.ApiGroupApp.ProductApiGroup.ChipProductApi
	{
		//productRouter.POST("product", chipProductApi.CreateExaProduct)   // 创建一个芯片产品
	}
	{
		productRouterWithoutRecord.GET("list", chipProductApi.GetChipsByPage)
	}
}
